<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<link href="/thinkphp/firstproject/Public/css/me.css" rel="stylesheet" type="text/css" />
<link href="/thinkphp/firstproject/Public/css/font-awesome.min.css" rel="stylesheet" type="text/css" />

<title>个人主页</title>
</head>

<body>
<div class="big">
  <header>
  <nav> 
  
  <div class="logo"><a href="#"><i class="fa fa-hourglass-start" aria-hidden="true"></i></a></div>
     <ul>
      <li><a href="#" id="sidebar_trigger">个人信息</a></li>
      <li><a href="#"></a></li>
      <li><a href="lecture">发表文章</a>></li>>
      <li><a href="#"></a></li>
      <li><a href="home_page.html">首页</a></li>
     </ul>
  </nav>
  <div id="banner">
   <div class="inner">
       <h1><?php echo ($name); ?></br>你好!
       </h1>
       <p class="heading"><?php echo ($signature[0]['user_signature']); ?></p>
    <button  id="sidebar_trigger2">了解我</button>
    
   </div>
  </div>
 
  </header>
  <div class="content">
  <section class="green-section">
     <div class="wrap">
         <form action="article" method="post" name="article">
             <button type="submit" class="if"  name="article" value="<?php echo ($result[0]['article_title']); ?>"> <h1><?php echo ($result[0]['article_title']); ?></h1></button>
         </form>

       <div class="hr"></div>

       <p ><?php echo ($result[0]['article_content']); ?></p>
     </div>
     <div class="icon-group">
        <span class="icon"><i class="fa fa-user fa-fw"
        style="padding:20px"></i></span>
        <span class="icon"><i class="fa fa-camera-retro fa-fw"
        style="padding:20px"></i></span>
        <span class="icon"><i class="fa fa-envelope fa-fw" style="padding:20px"></i></span>
     </div>
   
  </section>
  <section class="gray-section">
  <div class="article">
  
  <div class="text">
      <form action="article" method="post" name="article">
          <button type="submit" class="if"  name="article" value="<?php echo ($result[1]['article_title']); ?>"> <h1><?php echo ($result[1]['article_title']); ?></h1></button>
      </form>

      <p><?php echo ($result[1]['article_content']); ?></p>
  </div>
  <div class="image">
   <img src="/thinkphp/firstproject/Public/image/pic01.jpg">
  </div>
  </div>
  <div class="article">
  <div class="image">
   <img src="/thinkphp/firstproject/Public/image/pic02.jpg">
  </div>
  <div class="text">
      <form action="article" method="post" name="article">
          <button type="submit" class="if"  name="article" value="<?php echo ($result[2]['article_title']); ?>"> <h1><?php echo ($result[2]['article_title']); ?></h1></button>
      </form>

      <p><?php echo ($result[2]['article_content']); ?></p>
  </div>
  </div>
  <div class="article">
  
  <div class="text">
      <form action="article" method="post" name="article">
          <button type="submit" class="if"  name="article" value="<?php echo ($result[3]['article_title']); ?>"> <h1><?php echo ($result[3]['article_title']); ?></h1></button>
      </form>

      <p><?php echo ($result[3]['article_content']); ?></p>
  </div>
  <div class="image">
   <img src="/thinkphp/firstproject/Public/image/pic03.jpg">
  </div>
  </div>
  </section>
  <section class="purple-se">
  <div class="heading">
  <h2> <form action="article" method="post" name="article">
      <button type="submit" class="if"  name="article" value="<?php echo ($result[4]['article_title']); ?>"> <h1><?php echo ($result[4]['article_title']); ?></h1></button>
  </form>
  </h2>
  <div class="hr"></div>
  <div class="sub-heading">
     <P style="height: 110px;width: 1110px;overflow: hidden;"
><?php echo ($result[4]['article_content']); ?></P>
  </div>
  </div>
  <div class="card-grounp  clear">
    <div class="card">
    <h3> <form action="article" method="post" name="article">
        <button type="submit" class="if"  name="article" value="<?php echo ($result[5]['article_title']); ?>"> <h1><?php echo ($result[5]['article_title']); ?></h1></button>
    </form>
    </h3>
    <P style="height: 100px;width: 490px;overflow: hidden;"
><?php echo ($result[5]['article_content']); ?></P>
    </div>
    <div class="card">
    <h3> <form action="article" method="post" name="article">
        <button type="submit" class="if"  name="article" value="<?php echo ($result[6]['article_title']); ?>"> <h1><?php echo ($result[6]['article_title']); ?></h1></button>
    </form>
    </h3>
    <P style="height: 100px;width: 490px;overflow: hidden;"><?php echo ($result[6]['article_content']); ?></P>
    </div>
    <div class="card">
        <h3><form action="article" method="post" name="article">
            <button type="submit" class="if"  name="article" value="<?php echo ($result[7]['article_title']); ?>"> <h1><?php echo ($result[7]['article_title']); ?></h1></button>
        </form>
        </h3>
        <P style="height: 100px;width: 490px;overflow: hidden;"
><?php echo ($result[7]['article_content']); ?></P>
    </div>
    <div class="card">
    <h3> <form action="article" method="post" name="article">
        <button type="submit" class="if"  name="article" value="<?php echo ($result[8]['article_title']); ?>"><h1><?php echo ($result[8]['article_title']); ?></h1></button>
    </form>
    </h3>
    <P style="height: 100px;width: 490px;overflow: hidden;"
><?php echo ($result[8]['article_content']); ?></P>
    </div>
    <div class="card">
    <h3><form action="article" method="post" name="article">
        <button type="submit" class="if"  name="article" value="<?php echo ($result[9]['article_title']); ?>"><h1><?php echo ($result[9]['article_title']); ?></h1></button>
    </form></h3>
    <P style="height: 100px;width: 490px;overflow: hidden;"
><?php echo ($result[9]['article_content']); ?></P>
    </div>
    <div class="card">
    <h3><form action="article" method="post" name="article">
        <button type="submit" class="if"  name="article" value="<?php echo ($result[10]['article_title']); ?>"><h1><?php echo ($result[10]['article_title']); ?></h1></button>
    </form></h3>
    <P style="height: 100px;width: 490px;overflow: hidden;"
><?php echo ($result[10]['article_content']); ?></P>
    </div>
  </div>
  </section>
  </div>
  <footer>
  <ul class="share-group">
     <li><i class="fa fa-weixin" aria-hidden="true"></i></li>  
     <li><i class="fa fa-qq" aria-hidden="true"></i></li>  
     <li><i class="fa fa-weibo" aria-hidden="true"></i></li>   
  </ul>
  <div class="copy">
  &copy daxian -2016
  </div>
  </footer>
  <div class="mask"></div>
  <div id="sidebar">
      <div class="touxiang"></div>
      <ul>
         <li>昵称:<p><?php echo ($name); ?></p></li><br/>
         <li>性别:<p><?php echo ($info[0][user_sex]); ?></p></li><br/>
         <li>联系地址:<p><?php echo ($info[0][user_address]); ?></p></li><br/>
         <li>联系方式:<p><?php echo ($info[0][user_tele]); ?></p</li><br/>
      
      </ul>
  </div>
 <button class="back">返回顶部</button>
<script src="/thinkphp/firstproject/Public/js/jquery-latest.js"></script> 
<script src="/thinkphp/firstproject/Public/js/me.js"></script> 
</body>
</html>